package com.deer.wms.base.system.service.box.impl;

import com.deer.wms.base.system.dao.box.BoxItemBacthMapper;
import com.deer.wms.base.system.dao.box.BoxItemErrorMapper;
import com.deer.wms.base.system.model.box.BoxInfo;
import com.deer.wms.base.system.model.box.BoxItemDto;
import com.deer.wms.base.system.model.box.BoxItemError;
import com.deer.wms.base.system.service.box.BoxItemErrorService;
import com.deer.wms.common.core.service.AbstractService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class BoxItemErrorServiceImpl extends AbstractService<BoxItemError, String> implements BoxItemErrorService {
    @Autowired
    private BoxItemErrorMapper boxItemErrorMapper;


    @Override
    public int saveBoxItemError(BoxItemDto boxItemDto) {
        return boxItemErrorMapper.saveBoxItemError(boxItemDto);
    }

    @Override
    public List<BoxItemError> findBoxItemErrorList(BoxItemError boxItemError) {
        return boxItemErrorMapper.findBoxItemErrorList(boxItemError);
    }

}
